@import "https://vendor-cdn.imweb.me/css/pretendard.css";
:root{--green:#3f605b;--gold:#d7b06c;--bg:#f6f0e7;--ink:#111124;--muted:#746b63;--line:#e0d4c5;--line2:#f0e7dc;--ok:#27875b;--warn:#c97717;--red:#c73e33;--blue:#0f5680;--shadow:0 16px 44px #412c1c1a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);letter-spacing:-.02em;background:linear-gradient(#fbf6ee,#f3ebdf);margin:0;font-family:Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Arial,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}.layout{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.side{border-right:1px solid var(--line);background:#fffaf2;flex-direction:column;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;margin-bottom:26px;display:flex}.logo-mark{color:#fff;letter-spacing:-.07em;background:#111124;border-radius:18px;place-items:center;width:54px;height:54px;font-size:15px;font-weight:950;display:grid}.brand b{font-size:19px}.brand span{color:var(--muted);margin-top:3px;font-size:12px;font-weight:800;display:block}.nav{gap:6px;display:grid}.nav a{color:#5f554c;border-radius:14px;justify-content:space-between;padding:12px 13px;font-weight:900;text-decoration:none;display:flex}.nav a:hover{color:#4b2f1e;background:#f3e4d2}.side-note{border-top:1px solid var(--line);color:var(--muted);margin-top:auto;padding-top:16px;font-size:12px;font-weight:750;line-height:1.6}.main{width:100%;max-width:1720px;margin:0 auto;padding:24px 30px 70px}.hero,.section{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}.hero{border-radius:28px;margin-bottom:14px;padding:26px 28px}.eyebrow{color:var(--green);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:950}.hero h1{letter-spacing:-.055em;margin:8px 0;font-size:34px;line-height:1.12}.desc{color:var(--muted);margin:0;font-weight:740;line-height:1.55}.hero-top{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.btn{border:1px solid var(--line);color:#4d4035;cursor:pointer;background:#fff;border-radius:13px;padding:10px 14px;font-weight:900}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.danger{color:#9f2f27;border-color:#f1b9b4}.savebar{z-index:12;border:1px solid var(--line);background:#fffdf8;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:12px 14px;display:flex;position:sticky;top:0;box-shadow:0 10px 28px #412c1c14}.savebar small{color:var(--muted);margin-top:4px;font-weight:700;display:block}.save-state{color:var(--muted);font-weight:800}.save-state.dirty,.save-state.error{color:var(--red)}.save-state.saved{color:var(--ok)}.contract-mini{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.contract-mini input{border-radius:999px;width:auto;min-width:120px;padding:8px 11px}.section{border-radius:24px;margin-bottom:16px;padding:22px}.timeline-section{padding:24px}.section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section h2{letter-spacing:-.05em;margin:0 0 12px;font-size:24px}.pill{white-space:nowrap;border:0;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;display:inline-flex}.green{color:#146b45;background:#e4f4ec}.orange{color:#9b5404;background:#fff0da}.red{color:#a83229;background:#fff0ec}.blue{color:#0f5680;background:#e7f2f8}.gray{color:#665b51;background:#eee9e2}.pink{color:#b12d86;background:#fde8f6}.reminders{gap:10px;display:grid}.reminder{border:1px solid var(--line);background:#fffdf8;border-radius:16px;grid-template-columns:90px 1fr 90px;align-items:center;gap:12px;padding:10px 13px;display:grid}.reminder input{width:100%}.grid8{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.inf-card{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fffdf8;border-radius:20px;min-height:242px;padding:15px;transition:all .15s}.inf-card:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 14px 30px #412c1c1a}.inf-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.avatar,.card-photo{border-radius:18px;width:72px;height:72px}.avatar{background:linear-gradient(135deg,var(--green),var(--gold));color:#fff;place-items:center;font-size:22px;font-weight:950;display:grid}.avatar.empty{color:#9a8877;background:#eee3d4}.card-photo{object-fit:cover;border:1px solid var(--line);display:block}.inf-card h4{margin:12px 0 6px;font-size:17px}.inf-card p{color:var(--muted);margin:0;font-weight:730;line-height:1.5}.inf-meta{color:#544a42;gap:5px;margin-top:12px;font-size:12px;font-weight:760;display:grid}.table-wrap{border:1px solid var(--line);border-radius:22px;overflow:auto}.table{border-collapse:separate;border-spacing:0;background:#fff;width:100%;min-width:1540px}.table th{z-index:2;color:#fff;text-align:center;white-space:nowrap;background:#111;padding:12px 8px;font-size:13px;font-weight:900;position:sticky;top:0}.table td{border-top:1px solid var(--line2);border-right:1px solid var(--line2);text-align:center;vertical-align:middle;padding:9px 8px;font-weight:500;line-height:1.42}.left{text-align:left!important}.select-pill{background:#f3eee6;border:0;border-radius:999px;padding:8px 11px;font-weight:760}.datebox,.mutedbox{white-space:nowrap;background:#ece8e2;border-radius:999px;justify-content:center;min-width:64px;padding:8px 12px;display:inline-flex}.photo-empty,.photo-preview{border-radius:12px;width:72px;height:72px;margin:0 auto 6px}.photo-empty{color:#927d66;background:#fff8ed;border:1px dashed #cdbda9;place-items:center;font-size:12px;font-weight:900;display:grid}.photo-preview{border:1px solid var(--line);object-fit:cover;display:block}.file-label{border:1px solid var(--line);cursor:pointer;background:#f4eadc;border-radius:999px;padding:6px 8px;font-size:11px;font-weight:900;display:inline-flex}.file-label input{display:none}.detail-btn{border:2px solid var(--gold);cursor:pointer;background:#fff8ed;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}.link-icon{color:#fff;background:#111;border-radius:999px;place-items:center;width:34px;height:34px;margin-bottom:5px;font-size:16px;font-weight:950;text-decoration:none;display:inline-grid}.sr-input{border-radius:10px;min-width:110px;padding:7px;font-size:11px}.refs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ref{border:1px solid var(--line);background:#fffdf8;border-radius:18px;padding:15px}.empty-ref{border:1px dashed var(--line);color:var(--muted);background:#fffdf8;border-radius:18px;padding:22px;font-weight:780;line-height:1.6}.comment-form{grid-template-columns:1fr 1fr auto;gap:8px;margin-top:12px;display:grid}input,textarea{border:1px solid var(--line);background:#fffdf8;border-radius:13px;width:100%;padding:10px;font-weight:500;line-height:1.45}textarea{min-height:42px}.drawer{border-left:1px solid var(--line);z-index:30;background:#fffdf8;width:min(900px,100%);height:100vh;padding:24px;transition:all .22s;position:fixed;top:0;right:0;overflow:auto;transform:translate(105%);box-shadow:-30px 0 70px #412c1c2e}.drawer.on{transform:translate(0)}.overlay{z-index:29;background:#2d201640;display:none;position:fixed;inset:0}.overlay.on{display:block}.drawer-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.tab{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;padding:8px 12px;font-weight:900}.tab.active{background:var(--green);color:#fff}.content-card{border:1px solid var(--line);background:#fff;border-radius:18px;margin-bottom:12px;padding:16px}.content-card.strong{border:2px solid var(--green);background:#fffaf0}.field{gap:6px;margin:10px 0;display:grid}.field b{color:#6a5442}.editable-box{border:1px solid var(--line2);background:#fffdf8;border-radius:14px;min-height:42px;padding:12px;font-weight:500;line-height:1.55}.subgrid{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (max-width:1180px){.layout{grid-template-columns:1fr}.side{height:auto;position:relative}.nav{grid-template-columns:repeat(2,1fr)}.main{padding:18px}.grid8,.refs,.subgrid,.comment-form{grid-template-columns:1fr}.hero-top,.savebar,.reminder{grid-template-columns:1fr;display:grid}.side-note{display:none}}.no-scroll-table{overflow:visible}.compact-table{table-layout:fixed;width:100%;min-width:0}.compact-table th{padding:10px 6px;font-size:12px}.compact-table td{white-space:normal;word-break:keep-all;overflow-wrap:anywhere;padding:8px 6px}.compact-table th:nth-child(3),.compact-table th:nth-child(4){width:9%}.compact-table th:nth-child(8),.compact-table th:nth-child(9){width:9%}.compact-table th:nth-child(11){width:13%}.compact-table input,.compact-table textarea,.compact-table select{padding:8px 9px;font-size:13px}.compact-table textarea{resize:vertical;min-height:54px;max-height:none;overflow:hidden}.compact-table .select-pill{width:100%;padding:8px}.influencer-cell{vertical-align:middle}.person-jump{border:2px solid var(--gold);text-align:left;cursor:pointer;background:#fff8ed;border-radius:999px;align-items:center;gap:8px;width:100%;padding:8px 10px;display:flex}.person-jump b{font-size:13px;line-height:1.25;display:block}.person-jump small{color:#4d4035;margin-top:2px;font-size:11px;line-height:1.25;display:block}.mini-no{background:var(--green);color:#fff;border-radius:999px;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-weight:900;display:grid}.profile-wrap{width:84px;height:84px;position:relative}.profile-no{z-index:2;color:#fff;background:#111;border:2px solid #fff;border-radius:999px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:900;display:grid;position:absolute;top:-5px;left:-5px}.profile-wrap .avatar,.profile-wrap .card-photo{border-radius:22px;width:84px;height:84px}.profile-wrap .avatar{font-size:13px}.inf-top{align-items:flex-start}.inf-card{min-height:252px}.link-icon{color:#6f6257;background:#e9e3da}.link-icon[href^=http]{color:#fff;background:#111}.sr-input{width:100%;max-width:118px;margin:4px auto 0;padding:6px 8px;font-size:11px;display:block}.photo-empty,.photo-preview,.file-label{display:none}@media (max-width:1300px){.compact-table th:nth-child(11),.compact-table td:nth-child(11){display:none}.compact-table th:nth-child(7),.compact-table th:nth-child(2){width:18%}}@media (max-width:1180px){.no-scroll-table{overflow:auto}.compact-table{min-width:1100px}.compact-table th:nth-child(11),.compact-table td:nth-child(11){display:table-cell}}.compact-table th:first-child{width:10%}.compact-table th:nth-child(2){width:17%}.compact-table th:nth-child(3),.compact-table th:nth-child(4){width:9%}.compact-table th:nth-child(5){width:8%}.compact-table th:nth-child(6){width:17%}.compact-table th:nth-child(7),.compact-table th:nth-child(8){width:10%}.compact-table th:nth-child(9){width:8%}.compact-table th:nth-child(10){width:12%}.profile-upload{white-space:nowrap;border:1px solid var(--line);cursor:pointer;background:#fff8ed;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;position:absolute;bottom:-26px;left:50%;transform:translate(-50%);box-shadow:0 6px 14px #412c1c14}.profile-upload input{display:none}.inf-card{padding-bottom:34px}.upload-link-control{justify-items:center;gap:5px;display:grid}.link-open{color:#6f6257;background:#e9e3da;border-radius:14px;place-items:center;width:44px;height:38px;font-size:16px;font-weight:950;line-height:1;text-decoration:none;display:grid}.link-open span{margin-top:-4px;font-size:9px;display:block}.link-open.active{color:#fff;background:#111124;box-shadow:0 8px 18px #1111242e}.link-input{text-align:center;max-width:116px;background:#fff!important;border-radius:9px!important;padding:5px 7px!important;font-size:10px!important}.drawer-photo-row{align-items:center;gap:12px;margin:8px 0 14px;display:flex}.drawer-photo{object-fit:cover;border:1px solid var(--line);width:88px;height:88px;color:var(--muted);background:#fff8ed;border-radius:22px;place-items:center;font-weight:900;display:grid}.drawer-photo.empty{text-align:center;padding:12px}.person-jump{border-radius:16px}.person-jump small{white-space:normal}.compact-table td:nth-child(6) textarea,.compact-table td:nth-child(10) textarea{min-height:64px}
