:root{color:#223630;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f5f7f4;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #80b79d}h1,h2,p{margin-top:0}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{background:#fff;border-bottom:1px solid #dfe5df;grid-template-columns:1fr auto 1fr;align-items:center;height:77px;padding:0 clamp(24px,4vw,72px);display:grid}.brand,.auth-header{white-space:nowrap;align-items:center;gap:10px;display:flex}.brand-mark{color:#fff;background:#245b48;border-radius:11px;place-items:center;width:38px;height:38px;display:inline-grid}.brand-name{letter-spacing:-.04em;font-size:19px;font-weight:700}.brand-caption{color:#5f7063;letter-spacing:.02em;border-left:1px solid #dbe2da;margin-left:6px;padding-left:16px;font-size:12px}.main-nav{align-self:stretch;gap:30px;display:flex}.main-nav button{color:#5f7063;background:0 0;border:0;padding:0 1px;font-size:14px;font-weight:600;position:relative}.main-nav button.active{color:#244f3d}.main-nav button.active:after{content:"";background:#2d7657;height:2px;position:absolute;bottom:-1px;left:0;right:0}.main-nav span{color:#62716a;background:#eef2ee;border-radius:6px;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;font-size:11px;display:inline-grid}.logout-button{justify-self:end}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:10px 15px;font-size:13px;font-weight:700;line-height:1.2;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{color:#fff;background:#245b48;border-color:#245b48}.button-primary:not(:disabled):hover{background:#194934;border-color:#194934}.button-secondary{color:#305541;background:#fff;border-color:#cfdad0}.button-secondary:not(:disabled):hover{background:#f1f7f1;border-color:#a8beab}.button-quiet{color:#47705a;background:0 0}.button-quiet:not(:disabled):hover{background:#edf4ed}.page-content{flex:1;width:min(1400px,100%);margin:0 auto;padding:47px clamp(24px,4vw,64px) 80px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:31px;display:flex}.page-heading h1{letter-spacing:-.045em;margin-bottom:7px;font-size:32px;line-height:1.18}.page-heading p{color:#5f7063;max-width:680px;margin:0;font-size:14px;line-height:1.6}.workspace{grid-template-columns:minmax(0,1fr) minmax(330px,390px);align-items:start;gap:24px;display:grid}.workspace>*{min-width:0}.editor,.preview-panel,.link-list,.link-detail,.account-row{background:#fff;border:1px solid #e0e6df;border-radius:14px;box-shadow:0 3px 22px #23402b06}.editor-section{padding:27px 32px 32px}.editor-section+.editor-section{border-top:1px solid #e8ede7}.section-title{justify-content:space-between;align-items:center;margin-bottom:23px;display:flex}.section-title h2,.preview-top h2,.account-row h2{letter-spacing:-.025em;margin:0;font-size:17px;line-height:1.3}.type-tabs{background:#f4f6f3;border:1px solid #e4eae2;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:25px;padding:4px;display:grid}.type-tabs button{color:#5f7063;background:0 0;border:0;border-radius:7px;min-height:38px;font-size:13px;font-weight:600}.type-tabs button.selected{color:#2c6248;background:#fff;box-shadow:0 1px 5px #17321b1c}.fields{grid-template-columns:minmax(0,1fr);gap:18px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field-label{color:#45574b;font-size:12px;font-weight:700}.field input:not([type=color]):not([type=radio]):not([type=file]),.field textarea,.field select{color:#223630;background:#fff;border:1px solid #dbe4da;border-radius:8px;outline-color:#75a98c;width:100%;min-width:0;min-height:44px;padding:11px 13px;font-size:14px}.field textarea{resize:vertical;min-height:120px;line-height:1.5}.field input::placeholder,.field textarea::placeholder{color:#5f7063}.field-hint{color:#5f7063;margin:0;font-size:12px;line-height:1.5}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;display:grid}.radio-row{flex-wrap:wrap;align-items:center;gap:19px;min-height:44px;display:flex}.radio-row label{color:#4e6253;align-items:center;gap:7px;font-size:13px;display:flex}.radio-row input{accent-color:#2c7353}.color-control{color:#506457;font-variant-numeric:tabular-nums;border:1px solid #dbe4da;border-radius:8px;align-items:center;gap:11px;height:44px;padding:5px 11px 5px 5px;font-size:13px;display:flex}.color-control input{cursor:pointer;background:0 0;border:0;width:34px;height:32px;padding:0}.logo-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.upload-button{cursor:pointer;position:relative;overflow:hidden}.upload-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.short-link{background:#f4f8f3;border:1px solid #dbe9dd;border-radius:9px;min-width:0;padding:14px}.short-link>span{color:#4d6c54;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.short-link>div,.detail-url{justify-content:space-between;align-items:center;gap:10px;display:flex}.short-link code,.detail-url code{color:#315b42;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow:hidden}.short-link button{color:#477359;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;width:28px;height:28px;display:grid}.preview-panel{padding:25px;position:sticky;top:24px;overflow:hidden}.preview-top{justify-content:space-between;align-items:start;gap:10px;display:flex}.preview-top p{color:#5f7063;margin:5px 0 0;font-size:12px}.preview-type{color:#4a7254;background:#edf4ec;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:700}.preview-stage{background:#f8faf7;border:1px solid #e9ede6;border-radius:11px;place-items:center;min-height:350px;margin:23px 0 17px;padding:28px;display:grid}.preview-image-wrap{aspect-ratio:1;background:#fff;place-items:center;width:min(100%,260px);display:grid;box-shadow:0 6px 24px #172e1712}.preview-image{width:100%;height:100%}.preview-image svg,.preview-image canvas{width:100%;height:100%;display:block}.preview-image-wrap img{object-fit:contain;width:100%;height:100%;display:block}.preview-empty{text-align:center;color:#5f7063;flex-direction:column;align-items:center;gap:12px;font-size:13px;line-height:1.4;display:flex}.preview-empty svg{color:#b9c7bb}.preview-note{color:#5f7063;align-items:flex-start;gap:8px;margin:0 0 19px;font-size:12px;line-height:1.5;display:flex}.preview-note svg{flex:none;margin-top:1px}.preview-actions{gap:10px;display:grid}.preview-actions>.button{width:100%;min-height:46px}.download-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.download-hint{color:#5f7063;margin:2px 0 0;font-size:11px;line-height:1.45}.download-row>.button{width:100%}.notice{border-radius:8px;padding:11px 13px;font-size:12px;line-height:1.5}.preview-panel>.notice{margin:15px 0 0}.notice.success{color:#306746;background:#ebf5ec}.notice.warning{color:#805c28;background:#fff4de}.notice.error{color:#9c3d36;background:#fff0ed}.library-layout{grid-template-columns:minmax(290px,.86fr) minmax(0,1.14fr);align-items:start;gap:22px;display:grid}.library-layout>*{min-width:0}.link-list{padding:24px 0}.link-list .section-title{margin:0 25px 17px}.count{color:#4e6d52;vertical-align:2px;background:#eef2ed;border-radius:7px;place-items:center;min-width:23px;height:23px;margin-left:5px;padding:0 6px;font-size:11px;display:inline-grid}.link-item{color:#5f7063;text-align:left;background:#fff;border:0;border-left:3px solid #0000;align-items:center;gap:12px;width:100%;padding:15px 21px;display:flex}.link-item+.link-item{border-top:1px solid #f0f3ef}.link-item:hover,.link-item.selected{background:#f4f8f3}.link-item.selected{border-left-color:#3c8761}.link-item-icon{color:#40704c;background:#fff;border:1px solid #dce9dc;border-radius:9px;flex:0 0 37px;place-items:center;width:37px;height:37px;display:grid}.link-item-content{flex:1;gap:3px;min-width:0;display:grid}.link-item-content strong{color:#324538;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.link-item-content small{color:#5f7063;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.link-item-meta{text-align:right;gap:3px;display:grid}.link-item-meta b{color:#304c37;font-size:13px}.link-item-meta small{color:#5f7063;white-space:nowrap;font-size:10px}.link-detail{min-height:410px;padding:26px 29px}.detail-header{justify-content:space-between;align-items:start;gap:15px;display:flex}.detail-header h2{letter-spacing:-.03em;overflow-wrap:anywhere;margin:0 0 5px;font-size:20px}.detail-header p{margin:0;font-size:11px;font-weight:700}.status-on{color:#2f7048}.status-off{color:#805c28}.detail-qr{border:1px solid #e4eae3;border-radius:8px;width:140px;height:140px;margin:22px 0 17px;padding:7px}.detail-qr .preview-image-wrap{width:100%;height:100%;box-shadow:none}.detail-qr .preview-empty{font-size:10px}.detail-url{background:#f7faf6;border:1px solid #e3ece1;border-radius:8px;padding:8px 9px 8px 12px}.detail-url .button{min-height:28px;padding:3px 7px}.stats-heading{justify-content:space-between;align-items:end;gap:10px;margin-top:30px;display:flex}.stats-heading>div:first-child{gap:2px;display:grid}.stats-heading strong{letter-spacing:-.04em;font-size:31px;line-height:1}.stats-heading span{color:#5f7063;font-size:11px}.period-chips{background:#f5f8f4;border:1px solid #e2e9e1;border-radius:8px;gap:4px;padding:3px;display:flex}.period-chips button{color:#5f7063;background:0 0;border:0;border-radius:5px;min-width:46px;min-height:29px;padding:4px 6px;font-size:11px;font-weight:700}.period-chips button.selected{color:#2b6949;background:#fff;box-shadow:0 1px 4px #193c221f}.chart{grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;gap:7px;height:122px;margin-top:22px;display:grid}.chart-column{align-items:end;height:100%;display:flex}.chart-bar{background:#78a98a;border-radius:4px 4px 0 0;width:100%;min-height:4px}.chart-column:last-child .chart-bar{background:#2d7955}.chart-axis{color:#5f7063;justify-content:space-between;margin-top:10px;font-size:10px;display:flex}.empty-stats{color:#5f7063;align-items:center;min-height:100px;font-size:12px;line-height:1.5;display:flex}.detail-actions{border-top:1px solid #edf0ec;flex-wrap:wrap;align-items:center;gap:8px;margin-top:26px;padding-top:22px;display:flex}.detail-placeholder{color:#b4c1b5;text-align:center;place-content:center;justify-items:center;gap:15px;min-height:340px;display:grid}.detail-placeholder p{color:#5f7063;max-width:220px;margin:0;font-size:13px;line-height:1.5}.library-empty{text-align:center;color:#75a284;background:#fff;border:1px dashed #cddccf;border-radius:14px;justify-items:center;gap:11px;padding:72px 20px;display:grid}.library-empty h2{color:#345441;letter-spacing:-.03em;margin:4px 0 0;font-size:20px}.library-empty p{color:#5f7063;max-width:390px;margin:0 0 10px;font-size:13px;line-height:1.6}.static-history{background:#fff;border:1px solid #e0e6df;border-radius:14px;margin-top:24px;padding:24px 27px;box-shadow:0 3px 22px #23402b06}.static-history-heading h2{letter-spacing:-.025em;margin:0;font-size:17px}.static-history-heading p{color:#5f7063;max-width:750px;margin:6px 0 0;font-size:12px;line-height:1.55}.static-empty{color:#5f7063;border:1px dashed #dce7da;border-radius:9px;margin:22px 0 0;padding:23px;font-size:13px}.static-layout{grid-template-columns:minmax(210px,.65fr) minmax(0,1.35fr);gap:18px;margin-top:22px;display:grid}.static-list{border:1px solid #e3eae1;border-radius:9px;max-height:380px;overflow:auto}.static-item{text-align:left;background:#fff;border:0;border-left:3px solid #0000;gap:5px;width:100%;padding:13px 15px;display:grid}.static-item+.static-item{border-top:1px solid #edf1eb}.static-item:hover,.static-item.selected{background:#f4f8f3}.static-item.selected{border-left-color:#3c8761}.static-item strong{color:#324538;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.static-item span{color:#5f7063;font-size:11px}.static-detail{border:1px solid #e3eae1;border-radius:9px;align-items:center;gap:20px;min-width:0;padding:18px;display:flex}.static-qr{border:1px solid #e3eae1;border-radius:7px;flex:0 0 160px;width:160px;height:160px;padding:6px}.static-qr .preview-image-wrap{width:100%;height:100%;box-shadow:none}.static-detail-content{min-width:0}.static-detail h3{overflow-wrap:anywhere;margin:0 0 4px;font-size:15px}.static-detail p{color:#5f7063;margin:0;font-size:11px;line-height:1.5}.static-actions{flex-wrap:wrap;gap:7px;margin-top:18px;display:flex}.static-actions .button{min-height:36px;padding:7px 10px}.static-detail .notice{margin-top:15px!important}.account-row{justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:22px 27px;display:flex}.account-row p{color:#5f7063;margin:5px 0 0;font-size:12px;line-height:1.5}.footer{color:#5f7063;border-top:1px solid #e3e9e1;justify-content:space-between;gap:15px;padding:17px clamp(24px,4vw,72px);font-size:11px;display:flex}.auth-page{background:radial-gradient(circle at 50% 35%,#fff 0,#f5f8f4 58%,#edf2eb 100%);flex-direction:column;min-height:100vh;display:flex}.auth-header{padding:30px clamp(24px,4vw,72px)}.auth-card{background:#fff;border:1px solid #dfe7df;border-radius:18px;width:min(440px,100% - 40px);margin:auto;padding:37px;box-shadow:0 20px 70px #20402a12}.auth-icon{color:#316a4a;background:#e9f2e9;border-radius:13px;place-items:center;width:50px;height:50px;margin-bottom:25px;display:grid}.auth-card h1{letter-spacing:-.04em;margin-bottom:10px;font-size:28px;line-height:1.2}.auth-card>p:not(.notice){color:#5f7063;font-size:13px;line-height:1.65}.auth-card>.button{width:100%;min-height:48px;margin-top:14px}.auth-card .field{margin-top:24px}.auth-foot{justify-content:center;align-items:center;gap:7px;display:flex;margin:22px 0 0!important;font-size:11px!important}.loading-page{color:#679073;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;display:flex}.loading-page p{color:#5f7063;font-size:14px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=960px){.workspace,.library-layout{grid-template-columns:minmax(0,1fr)}.preview-panel{position:static}.preview-stage{min-height:320px}.page-content{padding-top:35px}}@media (width<=650px){.topbar{grid-template-columns:1fr auto;height:auto;padding:14px 19px 0}.brand-caption{display:none}.main-nav{grid-area:2/1/auto/-1;justify-content:center;gap:34px;height:49px;margin-top:7px}.logout-button{grid-area:1/2}.logout-button span{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.page-content{padding:29px 17px 60px}.page-heading{flex-direction:column;gap:15px;margin-bottom:22px}.page-heading h1{font-size:27px}.editor-section{padding:22px 19px 26px}.preview-panel{padding:20px}.preview-stage{min-height:300px;padding:22px}.field-grid{grid-template-columns:1fr}.type-tabs button{font-size:12px}.link-detail{padding:22px 20px}.account-row{flex-direction:column;align-items:flex-start;padding:21px}.footer{flex-direction:column;gap:5px;padding:18px 21px}.auth-card{padding:28px 24px}.auth-header{padding:20px}}@media (width<=390px){.type-tabs{gap:0}.type-tabs button{font-size:11px}.brand-name{font-size:17px}.page-heading .button{width:100%}.link-item{gap:8px;padding:13px 12px}.link-item-icon{display:none}.link-item-meta{min-width:54px}.detail-actions .button{width:100%}}@media (width<=700px){.static-history{padding:20px}.static-layout{grid-template-columns:minmax(0,1fr)}.static-detail{align-items:flex-start}.static-qr{flex-basis:120px;width:120px;height:120px}}@media (width<=420px){.static-detail{flex-direction:column}.static-qr{flex-basis:auto;width:160px;height:160px}.static-actions .button{flex:1}.period-chips button{min-width:38px;padding:4px}}@media (prefers-reduced-motion:reduce){.button{transition:none}}
